package net.qhzw.vip.qiyu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import net.qhzw.vip.qiyu.entity.DtsUserDeduction;
import net.qhzw.vip.qiyu.mapper.DtsUserDeductionMapper;
import net.qhzw.vip.qiyu.service.DtsUserDeductionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DtsUserDeductionServiceImpl extends ServiceImpl<DtsUserDeductionMapper, DtsUserDeduction> implements DtsUserDeductionService {

    @Autowired
    private DtsUserDeductionMapper dtsUserDeductionMapper;


    @Override
    public void stopUserDeduction(Long userId) {
        dtsUserDeductionMapper.stopUserDeduction(userId);
    }

    @Override
    public void recoveryUserDeduction(Long userId) {
        dtsUserDeductionMapper.recoveryUserDeduction(userId);
    }
}
